package com.xysl.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.LambdaUtils;
import com.xysl.api.domain.Advertisement;
import com.xysl.api.domain.AdvertisementAnnex;
import com.xysl.api.domain.XyslMenu;
import com.xysl.mapper.XyslAdvAnnexMapper;
import com.xysl.mapper.XyslAdvertisementMapper;
import com.xysl.mapper.XyslHomeMapper;
import com.xysl.service.IXyslHomeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.sql.Wrapper;
import java.util.List;

@Service
public class XyslHomeServiceImpl implements IXyslHomeService {


    @Resource
    XyslHomeMapper xyslHomeMapper;


    /**
     * 查询当前登录用户角色 菜单列表
     * @param userId
     * @return
     */
    @Override
    public List<XyslMenu> queryLoginUserMenuList(Long userId) {
        return xyslHomeMapper.queryLoginUserMenuList(userId);
    }


}
